.class final Lcom/a0soft/gphone/app2sd/main/ag;
.super Ljava/lang/Object;
.source "PrefWnd.java"

# interfaces
.implements Landroid/preference/Preference$OnPreferenceClickListener;


# instance fields
.field final synthetic a:Lcom/a0soft/gphone/app2sd/main/PrefWnd;


# direct methods
.method constructor <init>(Lcom/a0soft/gphone/app2sd/main/PrefWnd;)V
    .locals 0
    .parameter

    .prologue
    .line 105
    iput-object p1, p0, Lcom/a0soft/gphone/app2sd/main/ag;->a:Lcom/a0soft/gphone/app2sd/main/PrefWnd;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onPreferenceClick(Landroid/preference/Preference;)Z
    .locals 2
    .parameter

    .prologue
    .line 110
    :try_start_0
    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.intent.action.VIEW"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 111
    const-string v1, "http://android.a0soft.com/more_apps.htm"

    invoke-static {v1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 112
    iget-object v1, p0, Lcom/a0soft/gphone/app2sd/main/ag;->a:Lcom/a0soft/gphone/app2sd/main/PrefWnd;

    invoke-virtual {v1, v0}, Lcom/a0soft/gphone/app2sd/main/PrefWnd;->startActivity(Landroid/content/Intent;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 114
    :goto_0
    const/4 v0, 0x1

    return v0

    :catch_0
    move-exception v0

    goto :goto_0
.end method
